package org.swift.mashup.engine.api;

public interface ScriptEngine {
	public abstract Object runCommand(String command)
			throws ScriptEngineException;

	public abstract void reset() throws ScriptEngineException;

	public abstract void close() throws ScriptEngineException;

	public abstract boolean isClosed();

	public abstract void setParameter(String parameterName, String value)
			throws ScriptEngineException;

	public abstract String getParameter(String parameterName)
			throws ScriptEngineException;
}
